package cn.kgc.tongxunlu.service;

import cn.kgc.tongxunlu.pojo.Contact;
import com.github.pagehelper.PageInfo;

/**
 * @author shkstart
 * @create 2020-05-28 9:12
 */

public interface ContactService {

    //分页查询
    PageInfo<Contact> pageInfo(Integer pageNum, Integer pageSize, String cname);

    //增加
    public Integer add(Contact contact);

    //根据id查询
    public Contact selectById(Integer id);

    //修改
    public Integer update(Contact contact);
}
